home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / mm / ccmd / cmfil.h < prev    next >
Encoding:
C/C++ Source or Header  |  1990-12-18  |  1.1 KB  |  35 lines

  1. /*
  2.  Copyright (c) 1986, 1990 by The Trustees of Columbia University in
  3.  the City of New York.  Permission is granted to any individual or
  4.  institution to use, copy, or redistribute this software so long as it
  5.  is not sold for profit, provided this copyright notice is retained.
  6.  
  7.  Author: Howie Kaye
  8. */
  9. /*
  10.  * CMFIL.h:
  11.  * symbols for filename parsing
  12.  */
  13.  
  14.  
  15. #define REGEXCHARS "$^.*+?[]\\"
  16. #define REGEXQCHARS "|()123456789"
  17.  
  18. /*
  19.  * internal filename parser symbols
  20.  */
  21. #define FIL_MAT 0x0001            /* a match so far */
  22. #define FIL_NOR 0x0002            /* ignorable */
  23. #define FIL_INV 0x0004            /* invisible */
  24. #define FIL_EXA 0x0008            /* exact match (for wilds) */
  25. #define FIL_ARD    0x0010            /* readable file */
  26. #define FIL_AWR 0x0020            /* writable file */
  27. #define FIL_AEX 0x0040            /* executable file */
  28. #define FIL_ADR 0x0080            /* directory */
  29. #define FIL_ASY 0x0100            /* system file */
  30. #define FIL_AHD 0x0200            /* hidden file */
  31. #define FIL_ALK 0x0400            /* symbolic link */
  32. #define FIL_ASRCH 0x0800        /* directory execute */
  33. #define FIL_STAT 0x1000            /* internal.  already stat'ed */
  34. #define FIL_ARW    0x2000            /* readable abd writable */
  35.